cmake_minimum_required(VERSION 3.26)
project(test)

set(CMAKE_CXX_STANDARD 11)
include_directories(include)
link_directories(lib)
ADD_DEFINITIONS(-DBT_USE_DOUBLE_PRECISION=1)
#ADD_DEFINITIONS(-DB3_USE_CLEW)
ADD_DEFINITIONS(-D_GLIBCXX_USE_CXX11_ABI=0)
FILE(GLOB_RECURSE SRC_FILE src/*.cxx src/*.cpp)
FILE(GLOB_RECURSE HEADER_FILE include/*.h)
MESSAGE(${SRC_FILE})
MESSAGE(${HEADER_FILE})
add_executable(test ${SRC_FILE} ${HEADER_FILE})
target_link_libraries(test Bullet3Collision Bullet3Common Bullet3Dynamics  Bullet3Geometry  Bullet2FileLoader  BulletDynamics BulletInverseDynamics BulletSoftBody BulletCollision LinearMath)
